﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;
using Volo.Abp.Application.Services;

namespace TodoApp.TMS_material.ProductionPlace
{
    public class TMS_PlaceAppService : ApplicationService
    {
        private readonly ITMS_PlaceAppRepository _tMS_PlaceAppRepository;
        public TMS_PlaceAppService(ITMS_PlaceAppRepository tMS_PlaceAppRepository)
        {
            _tMS_PlaceAppRepository = tMS_PlaceAppRepository;   
        }

        #region 二级联动
        public async Task<PageResponse<TMS_ProductionPlaceDto>> GetAllPlace(int id)
        {
            return await _tMS_PlaceAppRepository.GetAllPlace(id);
        }
        #endregion
    }
}
